Generating Nested XML DTD from Non Normalized Relational Views

نویسندگان

  • Mohammed Nasser
  • Hamidah Ibrahim
  • Ali Mamat
  • Md. Nasir Sulaiman
چکیده

Document Type Definition (DTD) is very important because it contains a set of rules that specifies and captures the structure of XML (eXtensible Markup Language) document. Most of the current approaches for generating DTD from relational views do not support nested elements for DTD. Furthermore, these approaches may not generate automatically DTD from flat relational views where they depend on what is submitted by users. This paper investigates how nested XML DTD that support nested elements can be automatically generated from flat relational view. The proposed approach is based on the number of data values for each column in nested view that is generated from flat relational view. The data values for each column of nested view are counted to classify the columns into groups. Each group has the columns with the same number of values. The generated groups represent the DTD elements where the element that has a bigger number of data values is nested into the element that has a smaller number of data values. According to the experimental results, the proposed approach can reduce the storage size of generated DTD by around 31% compared to the other approaches.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

DTD-Directed Publishing with Attribute Translation Grammars

We present a framework for publishing relational data in XML with respect to a fixed DTD. In data exchange on the Web, XML views of relational data are typically required to conform to a predefined DTD. The presence of recursion in a DTD as well as non-determinism makes it challenging to generate DTD-directed, efficient transformations. Our framework provides a language for defining views that ...

متن کامل

Keys Graph - Based Relational to XML Translation Algorithm

The authors propose two algorithms for generating a DTD and an XML document respectively from the metadata and the content of a relational database without any intermediary language or user intervention. Such algorithms always generate semantically correct XML output by respecting database functional dependencies represented in a graph structure they take as input. Finally, different XML repres...

متن کامل

A Generic Load/Extract Utility for Data Transfer between XML Documents and Relational Databases

XML is rapidly gaining momentum in e-commerce and Internet-based information exchange, where its simplicity and custom-defined tags make it usable as a semanticspreserving data exchange format. However, to realize this potential, it is necessary to be able to extract structured data from XML documents and store it in a database, as well as to generate XML documents from data extracted from a da...

متن کامل

Object-Oriented Mediator Queries to XML Data

The mediator/wrapper approach is used to integrate data from different databases and other data sources by introducing a middleware virtual database that provides high level abstractions of the integrated data. A framework is presented for querying XML data through such an Object-Oriented (OO) mediator system using an OO query language. The mediator architecture provides the possibility to spec...

متن کامل

The Absolute Consistency Problem of XML Schema Mappings with Data Values between Restricted DTDs

This paper proposes a restricted class of DTDs, called MDC-DTDs, such that the absolute consistency problem of XML schema mappings is solvable in polynomial time. An XML schema mapping is a triple consisting of a source DTD, a target DTD, and a set of dependencies, and represents a set of pairs of source and target documents that satisfy the dependencies. An XML schema mapping is said to be abs...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2007